W A R N I N G   :   
 
 %  T h i s   i s   a   d e m o   a n d   a n   i n c o m p l e t e   v e r s i o n   o f   t h e   e d i t o r   f o r   e x p e r i m e n t i n g   p u r p o s e   o n l y ,   t h e   f i n a l   p r o d u c t   w i l l   c o n t a i n 
 
   a d d i t i o n n a l   c o n t e n t   a n d   m o r e   o p t i o n s . 
 
 %  T h i s   d e m o   h a s   l i t t l e     t o   n o   r e s o u r c e s   l i k e   m o d e l s ,   s o u n d s ,   U I 
 
 %  T h i s   d e m o   m i g h t   b e ,   a n d   i n   f a c t   i s ,   b u g g y ,   I   k n o w   i t   i s   n o t   p e r f e c t ,   I   w i l l   s t i l l   t a k e   i n   c o n s i d e r a t i o n   a n y   f a c t u a l   
 
   a n a l i s y s   o r   p r o b l e m   o r   m i s s i n g   f a t u r e   y o u   m i g h t   f i n d 
 
 
 
 T h i s   p a c k a g e   c o n t a i n s : 
 
 - t h e   c l a s s e s   a n d   s c r i p t s   u s e d   b y   t h e   e d i t o r . 
 
 - r e a d y   t o   u s e   p r e f a b s   y o u   c a n   c o p y   a n d   a l t e r 
 
 - r e a d y   t o   u s e   s k e l e t o n   o f   a   r a i l E d i t o r   y o u   c a n   c o p y / p a s t e   i n   y o u r   p r o j e c t 
 
 - D e m o   s c e n e   t o   t r y   t h e   r e s u l t   a n d   s e e   i f   y o u   l i k e   i t 
 
 
 
 
 
 H O W   T O   U S E   ( g l o b a l l y ) : 
 
 1 /   U n d e r   t h e   s t e p s S c h e m a   G O ,   a d d   a   S t e p   p r e f a b   u n d e r   a n y   s t e p   a l r e a d y   h e r e ,   a n y   w a y   y o u   f e e l   i s   t h e   b e t t e r   o r g a n i z e d .   ( C A P T U R E 0 0 1 . J P G ) 
 
 
 
 2 /   R e n a m e   t h e   n e w   s t e p   i f   y o u   n e e d   t o ,   f o r   r e a d a b i l i t y 
 
 
 
 3 /   c o n f i g u r e   a s   y o u   w i s h   t h i s   n e w   s t e p   b y :   ( C A P T U R E 0 0 3 . J P G ) 
 
 	 - S e t t i n g   a   s t e p   n u m b e r   ( n b S t e p   f i e l d ) 
 
 	 - D e f i n e   i f   t h e   s t e p   h a s   a   t i m e r   o r   n o t :   s e t   t i m e r S t a t e   t o   " T I M E R S T O P P E D "   f o r   y e s   a n d   " N O T I M E R "   f o r   n o   ( t i m e r S t a t e   f i e l d ) 
 
 	 - S e t t i n g   a   t i m e r   v a l u e   ( T i m e r   f i e l d ) 
 
 	 - P l a c i n g   t h e   t a r g e t   i n   y o u r   s c e n e   ( t h e   t a r g e t   i s   d i r e c t l y   u n d e r   t h e   s t e p   G O )   ( t h e   r e t i c u l e - l i k e   c o n   a t t a c h e d   t o   t h e   s t e p   i c o n   b y   t h e   p u r p l e   l i n e ) 
 
 	 - A d d i n g   N P C   g r o u p s   t o   b e   L o a d e d / a c t i v a t e d / d e a c t i v a t e d   i n   t h i s   s t e p   ( s e e   N P C s   s e c t i o n   f o r   c o m p l e t e   i n f o )   ( C A P T U R E 0 0 6 . J P G ) 
 
 	 - A d d i n g   t h e   s t e p   y o u   c r e a t e d   i n   t h e   " D e s t i n a t i o n   l i s t "   o f   t h e   p r e v i o u s   s t e p ( s )   ( C u r r e n t D e s t L i s t   a r r a y ) 
 
 	 	 - S e t t i n g   t h e   t y p e   a n d   d u r a t i o n   o f   t r a n s i t i o n   y o u   w a n t   b e t w e e n   t h e   c u r r e n t   s t e p   a n d   i t ' s   d e s t i n a t i o n   s t e p 
 
 	 	 - S e t t i n g   c o n d i t i o n s   t o   a c c e s s   t h e   n e w   s t e p :   ( C o n d i t i o n s   a n d   C o n d i t i o n   v a l u e s   f i e l d s ) 
 
 	 	 	 %  D e f a u l t   t r a n s i t i o n   v a l u e s   a r e   t h e   c u r r e n t   s t e p   G O   a n d   d e f a u l t   t h e   c o n d i t i o n   i s   " T I M E R O V E R "   
 
 	 	 	 	 w h i c h   i s   t h e   f i n a l   s t a t e   o f   a   r u n n i n g   t i m e r 
 
 	 	 	 %  Y o u   c a n   p u t   g r o u p s   o f   e n e m i e s ,   N P C ,   b a c k g r o u n d s   a n d   s e t   t h e   c o n d i t i o n   t o   
 
 	 	 	 	 D E A D ,   A L I V E ,   A C T I V E ,   I N A C T I V E ,   d e p e n d i n g   o n   t h e   l o g i c   y o u   w a n t   t o   p u t   b e h i n d   i t   ( C o n d i t i o n s   a n d   C o n d i t i o n   v a l u e s   f i e l d s ) 
 
 	 	 	 %  Y o u   c a n   p u t   m u l t i p l e   c o n d i t i o n s   f o r   o n e   d e s t i n a t i o n :   m u l t i p l e   N P C   g r o u p s ,   t i m e r ,   h i s t o r i c ,   e t c . . . 
 
 	 	 	 * - - - - - - - - - - -   N B     - - - - - - - - - - - * 
 
 	 	 	 D e s t i n a t i o n   a r e   s e t   b y   p r i o r i t y   o r d e r   f r o m   h i g h e s t   t o   l o w e s t :   
 
 	 	 	 	 i f   2   d e s t i n a t i o n s   m e e t   t h e   c o n d i t i o n s ,   t h e   f i r s t   r e a d   i s   t h e   o n e   e x e c u t e d 
 
 
 
 	 	 - S e t t i n g   t h e   t y p e   a n d   d u r a t i o n   o f   t r a n s i t i o n   b e t w e e n   t h e   t w o   t a r g e t s   ( T r a n s i t i o n   t y p e   a n d   t r a n s t i t i o n   t i m e   f i e l d s ) 
 
 	 	 * - - - - - - - - - - -   W A R N I N G   - - - - - - - - - - - * 
 
 	 	 t h e   t r a n s i t i o n s   f r o m   s t e p   A   t o   s t e p   B   a r e   t o   b e   s e t   i n   t h e   s t e p   A   i n   t h e   d e s t i n a t i o n s   s e c t i o n ,   
 
 	 	 	 B U T   t h e   t r a n s i t i o n s   f r o m   t a r g e t   A   t o   t a r g e t   B   a r e   s e t   i n   t h e   t a r g e t   B   s c r i p t . 
 
 	 	 
 
 
 
 4 / A d d   a   c o v e r   t o   t h e   s t e p   i f   y o u   w a n t   t h i s   s t e p   t o   b e   T i m e   C r i s i s - l i k e   ( C A P T U R E 0 0 4 . J P G ) 
 
 	 - A d d   a   c o v e r   ( t h e   c o v e r   i s   j u s t   a d d e d   b y   p u t t i n g   t h e   p r e f a b   u n d e r   t h e   s t e p   i n   t h e   h i e r a r c h y ,   n e x t   t o   t h e   t a r g e t ( C A P T U R E 0 0 4 . J P G ) 
 
 	 	 * - - - - - - - - - - -   N B     - - - - - - - - - - - * 
 
 	 	   t h e   c o v e r   p o s i t i o n   i s   t h e   o r i g i n   o f   t h e   C o v e r   G O ,   t h e   c o v e r   o b j e c t   i s   p l a c e d   b y   h a n d   a r o u n d   t h e   c o v e r   o r i g i n   ( C A P T U R E 0 0 8 . J P G ) 
 
 	 - C o v e r   c a n   b e   c o n f i g u r e d :   ( C A P T U R E 0 0 4 . J P G ) 
 
 	 	 %  I s   t h e   p l a y e r   h i d d e n   b y   d e f a u l t ?   i f   y e s ,   t h e n   h o l d   t h e   k e y   t o   s h o w ,   e l s e ,   h o l d   t h e   k e y   t o   h i d e 
 
 	 	 %  D o e s   h i d i n g   r e l o a d   y o u r   g u n ? 
 
 	 	 %  D u r a t i o n   o f   t h e   t r a n s i t i o n   b e t w e e n   h i d d e n   a n d   e x p o s e d   a n d   b a c k 
 
 
 
 5 / U n d e r   t h e   N P C S c h e m a ,   a d d   a   e m p t y   G O ,   y o u   c a n   n a m e   i t   t h e   w a y   y o u   w a n t .   ( " 0 0 1 "   t o   " 0 1 1 "   G a m e O b j e c t s ) 
 
 
 
 6 / A d d   t h e   g r o u p s   o f   N P C s   y o u   w a n t   f o r   t h e   n e w   s t e p   ( " g r o u p 0 7 "   G a m e O b j e c t ) 
 
 	 - t h e   g r o u p   i s   a   l o g i c a l   s t e p   t o   a l l o w   s i n g l e   o r   m u l t i p l e   N P C s   t o   b e   s i m p l y   u s e d   i n   a   s i n g l e   c o n d i t i o n 
 
 
 
 7 / U n d e r   t h i s   g r o u p ,   a d d   t h e   N P C s   p r e f a b s   :   ( A l l   t h e   E n e m y P r e f a b   G a m e O b j e c t s ) 
 
 	 o r   y o u r   o w n   N P C s   w i t h   t h e   c o r r e s p o n d i n g   s c r i p t ( A l l y S c r i p t ,   E n e m y S c r i p t ,   e t c . . . )   
 
 	 a n d   t h e   H e a l t h M a n a g e r S c r i p t   ( o r   r e p l a c e   i t   w i t h   y o u r   o w n   s c r i p t ,   a n d   a d d   t h e   m e t h o d s   t h a t   w i t h   d i a l o g   t h e   N P C S c r i p t s ) 
 
 
 
 8 / I f   y o u   u s e   t h e   d e f a u l t   E n e m y s c r i p t ,   y o u   c a n   c o n f i g u r e   t h e   e n e m y :   ( C A P T U R E 0 1 0 . J P G ) 
 
 	 G r o u p :   t h e   g r o u p   i t   b e l o n g s   t o ,   i t   i s   u s e d   t o   t e s t   d e s t i n a t i o n s 
 
 	 C u r r e n t S t a t e :   t h e   s t a t e   y o u   s e t   w h e n   c r e a t i n g   t h e   s c e n e ,   i s   t h e   s t a t e   h t e   N P C   w i l l   s t a r t   a s   w h e n   a c t i v a t e d 
 
 	 D e a t h S t a t e :   s t a t e   i n   w h i c h   t h e   N P C   w i l l   v a l i d a t e   t h e   c o n d i t i o n   w h e n   t e s t i n g   t h e   d e s t i n a t i o n s 
 
 	 c u r r e n t A c t i v e S n d   :   s o u n d   m a d e   w h e n   a c t i v a t e d 
 
 	 c u r r e n t F a i l S n d   :   s o u n d   m a d e   w h e n   m e e t i n g   t h e   d e a t h   c o n d i t i o n 
 
 	 c u r r e n t S u c c e e d S n d :   s o u n d   m a d e   w h e n   s u r v i v i n g   o r   b e i n g   a c t i v a t e d   ( u s e d   b y   a l l i e s   o r   b a c k g r o u n d   N P C s ) 
 
 	 V i c t i m s L i s t :   l i s t   o f   G a m e O b j e c t s   t o   c h a s e   a n d   a t t a c k ,   i n   t h a t   o r d e r 
 
 	 c u r r e n t S p e e d :   m o v i n g   s p e e d   o f   t h e   N P C 
 
 	 A t t a c k e P l a y e r :   o n c e   i t ' s   v i c t i m s L i s t   i s   e m p t y ,   w i l l   t h e   N P C   a t t a c k   t h e   p l a y e r   o r   n o t ? 
 
 	 D e l a y T i m e   :   w a i t i n g   t i m e   b e f o r e   d o i n g   a n y t h i n g   w h e n   a c t i v a t e d 
 
 
 
 9 / A d d   t h e   N P C   g r o u p   t o   t h e   S t e p   i n   t h e   f i e l d s : 
 
 	 - L o a d e d N P C s :   l o a d   t h e   N P C   b u t   w o n ' t   m a k e   i t   a c t i v e ,   i t   w o n ' t   a t t a c k   y o u   o r   a n y   A l l y N P C ,   b u t   i t   w i l l   b e   v u l n e r a b l e   t o   a t t a c k s ,   a n d   i t   w o n ' t   p o p   o u t   o f   n o w h e r e   w h e n   n e e d e d 
 
 	 - A c t i v a t e d N P C s :   t h e   l o a d e d   N P C s   b e c o m e   a c t i v e   a n d   w i l l   a t t a c k   t h e   a l l i e s   A N D / O R   t h e   p l a y e r   i n   t h e   o r d e r   s e t   i n   t h e   l i s t 
 
 	 - D e a c t i v a t e d N P C s :   i f   y o u   n e e d   N P C s   t o   b e c o m e   i n a c t i v e   ( e x : s u r v i v i n g   e n e m i e s )   p a s s e d   a   s p e c i f i c   s t e p ,   y o u   c a n   m a k e   t h e m   i n a c t i v e   i n   h e r e 
 
 	 	 * - - - - - - - - - - -   W A R N I N G   - - - - - - - - - - - * 
 
 	 	 Y o u   M U S T   l o a d   a n   N P C   b e f o r e   m a k i n g   i t   a c t i v e   ( i n   t h e o r y ,   I   t h i n k   I   s a w   s o m e   r e s p a w n i n g   e n e m i e s ) ,   
 
 	 	 i t   f o r b i d s   r e s p a w n i n g   e n e m i e s   ( i n   t h e o r y ,   a g a i n ,   I   s t i l l   h a v e   t o   d e b u g   t h a t )   
 
 	 	 w h e n   p a s s i n g   b y   t h e   s a m e   s t e p   t w i c e   ( b e c a u s e   w h y   n o t ) 
 
 
 
 N B :   
 
 %  Y o u   c a n   a d d   b a c k g r o u n d N P C s   e l e m e n t s   o u t   o f   t h e   N P C S c h e m a   h i e r a r c h y ,   l i k e   t h a t ,   t h e y   w o n ' t   b e   i m p a c t e d   b y   t h e   r a i l E d i t o r   l o g i c   a n d   y o u   w o n ' t   n e e d   t o   l o a d   t h e m   l i k e   e n e m i e s , 
 
 	 b u t   y o u   w o n ' t   b e   a b l e   t o   u s e   t h e m   i n   d e s t i n a t i o n s   a s   c o n d i t i o n s   
 
 